package com.ruoyi.his.service;

import java.util.List;

import com.ruoyi.his.domain.HisPatient;
import com.ruoyi.his.domain.NewHisRegistration;


/**
 * newregistrationService接口
 * 
 * @author ruoyi
 * @date 2025-03-25
 */
public interface INewHisRegistrationService 
{
    /**
     * 查询newregistration
     * 
     * @param registrationId newregistration主键
     * @return newregistration
     */
    public NewHisRegistration selectNewHisRegistrationByRegistrationId(Long registrationId);

    /**
     * 查询newregistration列表
     * 
     * @param newHisRegistration newregistration
     * @return newregistration集合
     */
    public List<NewHisRegistration> selectNewHisRegistrationList(NewHisRegistration newHisRegistration);

    /**
     * 新增newregistration
     * 
     * @param newHisRegistration newregistration
     * @return 结果
     */
    public int insertNewHisRegistration(NewHisRegistration newHisRegistration);

    /**
     * 修改newregistration
     * 
     * @param newHisRegistration newregistration
     * @return 结果
     */
    public int updateNewHisRegistration(NewHisRegistration newHisRegistration);

    /**
     * 批量删除newregistration
     * 
     * @param registrationIds 需要删除的newregistration主键集合
     * @return 结果
     */
    public int deleteNewHisRegistrationByRegistrationIds(Long[] registrationIds);

    /**
     * 删除newregistration信息
     * 
     * @param registrationId newregistration主键
     * @return 结果
     */
    public int deleteNewHisRegistrationByRegistrationId(Long registrationId);

    HisPatient newone(NewHisRegistration newHisRegistration);

    List<NewHisRegistration> getListByPatientId(Long[] patientId);
}
